package com.xiaochong.tir.common.data.vo;

import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: java类作用描述
 * @Author: org
 * @CreateDate: 2018/7/4 17:37
 */
public class ApiKActionQuantizationVo {
    @ApiModelProperty(value = "时间戳")
    private Long timeLong;//时间戳 插入时间
    @ApiModelProperty(value = "涨幅24H")
    private Double changePrice =0D;//涨幅24H
    @ApiModelProperty(value = "涨幅1H")
    private Double changePrice1H=0D;//涨幅1H 一小时涨幅
    @ApiModelProperty(value = "今日涨幅")
    private Double changePriceToday=0D;//今日涨幅
    @ApiModelProperty(value = "最高价格24小时")
    private Double maxPrice24H=0D;//最高价格24小时
    @ApiModelProperty(value = "最低价格24小时")
    private Double minPrice24H=0D;//最低价格24小时
    @ApiModelProperty(value = "24H成交量")
    private Double amount=0D;//24H成交量
    @ApiModelProperty(value = "24H资金净流入")
    private Double capitionFlow=0D;//24H资金净流入
    @ApiModelProperty(value = "最新价格")
    private Double lastOpenPrice=0D;//最新价格从reids获取
    @ApiModelProperty(value = "今日开盘")
    private Double openPriceCny=0D;//今日开盘乘以人民币从当天第一条数据获取redis
    @ApiModelProperty(value = "昨日收盘")
    private Double yesterdayClosePriceCny=0D;//昨日收盘价格人民币
    @ApiModelProperty(value = "当前价格与上一次交易价格比较上涨还是下跌 1：上涨：0不涨，-1下跌")
    private Integer changFlag=0;//当前价格与上一次交易价格比较上涨还是下跌 1：上涨：0不涨，-1下跌
    @ApiModelProperty(value = "交易对名称")
    private String transactionName;//交易对名称
    @ApiModelProperty(value = "交易对id")
    private Integer transactionId;//交易对id
    @ApiModelProperty(value = "交易所id")
    private Integer exchangeId;//交易所id
    @ApiModelProperty(value = "交易所名称")
    private String exchangeName;//交易所名称
    @ApiModelProperty(value = "排名")
    private Integer rank;//排名
    @ApiModelProperty(value = "交易对图标地址")
    private String imageUrl;
    @ApiModelProperty(value = "中间表id用于自选参数")
    private Integer middleId;
    @ApiModelProperty(value = "1:已自选 2：未自选")
    private Integer selfSelectFlag =2;

    @ApiModelProperty(value = "最新价格(美元)")
    private String lastOpenPriceUsdStr;
    @ApiModelProperty(value = "最新价格(美元)")
    private Double lastOpenPriceUsd=0D;//最新价格从reids获取
    @ApiModelProperty(value = "是否显示深度数据")
    private Integer isDepth;//是否存在深度数据

    public Integer getIsDepth() {
        return isDepth;
    }

    public void setIsDepth(Integer isDepth) {
        this.isDepth = isDepth;
    }

    public Double getLastOpenPriceUsd() {
        return lastOpenPriceUsd;
    }

    public void setLastOpenPriceUsd(Double lastOpenPriceUsd) {
        this.lastOpenPriceUsd = lastOpenPriceUsd;
    }

    public Long getTimeLong() {
        return timeLong;
    }

    public void setTimeLong(Long timeLong) {
        this.timeLong = timeLong;
    }

    public Double getChangePrice() {
        return changePrice;
    }

    public void setChangePrice(Double changePrice) {
        this.changePrice = changePrice;
    }

    public Double getChangePrice1H() {
        return changePrice1H;
    }

    public void setChangePrice1H(Double changePrice1H) {
        this.changePrice1H = changePrice1H;
    }

    public Double getChangePriceToday() {
        return changePriceToday;
    }

    public void setChangePriceToday(Double changePriceToday) {
        this.changePriceToday = changePriceToday;
    }

    public Double getMaxPrice24H() {
        return maxPrice24H;
    }

    public void setMaxPrice24H(Double maxPrice24H) {
        this.maxPrice24H = maxPrice24H;
    }

    public Double getMinPrice24H() {
        return minPrice24H;
    }

    public void setMinPrice24H(Double minPrice24H) {
        this.minPrice24H = minPrice24H;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Double getCapitionFlow() {
        return capitionFlow;
    }

    public void setCapitionFlow(Double capitionFlow) {
        this.capitionFlow = capitionFlow;
    }

    public Double getLastOpenPrice() {
        return lastOpenPrice;
    }

    public void setLastOpenPrice(Double lastOpenPrice) {
        this.lastOpenPrice = lastOpenPrice;
    }

    public Double getOpenPriceCny() {
        return openPriceCny;
    }

    public void setOpenPriceCny(Double openPriceCny) {
        this.openPriceCny = openPriceCny;
    }

    public Double getYesterdayClosePriceCny() {
        return yesterdayClosePriceCny;
    }

    public void setYesterdayClosePriceCny(Double yesterdayClosePriceCny) {
        this.yesterdayClosePriceCny = yesterdayClosePriceCny;
    }

    public Integer getChangFlag() {
        return changFlag;
    }

    public void setChangFlag(Integer changFlag) {
        this.changFlag = changFlag;
    }

    public String getTransactionName() {
        return transactionName;
    }

    public void setTransactionName(String transactionName) {
        this.transactionName = transactionName;
    }

    public Integer getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(Integer transactionId) {
        this.transactionId = transactionId;
    }

    public Integer getExchangeId() {
        return exchangeId;
    }

    public void setExchangeId(Integer exchangeId) {
        this.exchangeId = exchangeId;
    }

    public String getExchangeName() {
        return exchangeName;
    }

    public void setExchangeName(String exchangeName) {
        this.exchangeName = exchangeName;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public Integer getMiddleId() {
        return middleId;
    }

    public void setMiddleId(Integer middleId) {
        this.middleId = middleId;
    }

    public Integer getSelfSelectFlag() {
        return selfSelectFlag;
    }

    public void setSelfSelectFlag(Integer selfSelectFlag) {
        this.selfSelectFlag = selfSelectFlag;
    }

    public String getLastOpenPriceUsdStr() {
        return lastOpenPriceUsdStr;
    }

    public void setLastOpenPriceUsdStr(String lastOpenPriceUsdStr) {
        this.lastOpenPriceUsdStr = lastOpenPriceUsdStr;
    }
}
